<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>dsniff</Name>
        <Homepage>http://monkey.org/~dugsong/dsniff/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <Summary>Network sniffer and analyzer</Summary>
        <Description>dsniff is a collection of tools for network auditing and penetration testing.</Description>
        <Archive sha1sum="25cfea26e9bbe016451180758a49d4d5bc9317d3" type="targz">http://monkey.org/~dugsong/dsniff/beta/dsniff-2.4b1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libpcap-devel</Dependency>
            <Dependency>libnet-devel</Dependency>
            <Dependency>libnids-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>db-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">01_time.h.patch</Patch>
            <Patch level="1">02_mailsnarf_corrupt.patch</Patch>
            <Patch level="1">03_pcap_read_dump.patch</Patch>
            <Patch level="1">04_multiple_intf.patch</Patch>
            <Patch level="1">05_amd64_fix.patch</Patch>
            <Patch level="1">06_urlsnarf_zeropad.patch</Patch>
            <Patch level="1">07_libnet_1.1.patch</Patch>
            <Patch level="1">08_checksum.patch</Patch>
            <Patch level="1">08_openssl-0.9.8.patch</Patch>
            <Patch level="1">09_sshcrypto.patch</Patch>
            <Patch level="1">09_sysconf_clocks.patch</Patch>
            <Patch level="1">10_urlsnarf_escape.patch</Patch>
            <Patch level="1">11_string_header.patch</Patch>
            <Patch level="1">12_arpa_inet_header.patch</Patch>
            <Patch level="1">13_pop_with_version.patch</Patch>
            <Patch level="1">14_obsolete_time.patch</Patch>
            <Patch level="1">15_checksum_libnids.patch</Patch>
            <Patch level="1">20_debian_dirs.patch</Patch>

            <Patch>2.3-makefile.patch</Patch>
            <Patch>dsniff-httppostfix.patch</Patch>

            <!--  sed -i 's:-DDSNIFF_LIBDIR=\\\"$(libdir)/\\\"::' Makefile.in -->
            <Patch level="1">nolibdir.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>dsniff</Name>
        <RuntimeDependencies>
            <Dependency>libpcap</Dependency>
            <Dependency>libnet</Dependency>
            <Dependency>libnids</Dependency>
            <Dependency>libXmu</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>db</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/dsniff</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="doc">/usr/share/doc/dsniff</Path>
            <Path fileType="data">/usr/share/dsniff</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2016-02-25</Date>
            <Version>2.4_beta1</Version>
            <Comment>Rebuilt with docker</Comment>
            <Name>İbrahim KARAGÜZEL</Name>
            <Email>karaguzelibrahim@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2014-01-22</Date>
            <Version>2.4_beta1</Version>
            <Comment>Rebuild</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2010-10-13</Date>
            <Version>2.4_beta1</Version>
            <Comment>First release</Comment>
            <Name>Gökcen Eraslan</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
